import junit.framework.JUnit4TestAdapter;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

/**
 * Runs all tests in the test suite.
 * 
 * @author Odessa
 */
@RunWith(Suite.class)
@SuiteClasses({ VendingMachineItemTest.class, VendingMachineTest.class })
public class AllTests
{
	
	
	/**
	 * The main method.
	 *
	 * @param args the arguments
	 */
	public static void main(String[] args)
	{
		junit.textui.TestRunner.run(suite());
	}



	
	/**
	 * Responsible for creating and running the tests.
	 *
	 * @return the junit.framework. test
	 */
	public static junit.framework.Test suite()
	{
		return new JUnit4TestAdapter(AllTests.class);
	}
}
